package fengstyle.service;

import fengstyle.po.LouDong;
import fengstyle.repository.LouDongRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LouDongServiceImpl implements LouDongService{

    @Resource
    private LouDongRepository louDongRepository;

    @Override
    public List<LouDong> list() {
        return louDongRepository.list();
    }

    @Override
    public Long addLouDong(LouDong louDong) {
        return louDongRepository.addLouDong(louDong);
    }

}
